package com.superExce;

import java.lang.reflect.ParameterizedType;

/**
 * @Author WaveHi
 * @Date 6/8/2021 上午 11:41
 * @Version 1.0
 * @Contact HJBWaveHi@163.com
 * @Description 宠物
 */
public class Pet {

    private String name;//宠物名称
    private int age;//宠物年龄
    private int health;//健康状况

    public void setName(String name) {

        this.name = name;

    }

    public String getName() {

        return name;

    }

    public void setAge(int age) {

        this.age = age;

    }

    public int getAge() {

        return age;

    }

    public void setHealth(int health) {

        this.health = health;

    }

    public int getHealth() {

        return health;

    }

}
